pv-on-hvm: Fix unplug logic
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 22 Feb 2010 10:05:40 +0000 (10:05 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 22 Feb 2010 10:05:40 +0000 (10:05 +0000)
Add the missing part for the dev_unplug parameter in r20847

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
unmodified_drivers/linux-2.6/platform-pci/platform-pci.c

index dedb846e7c5b073660f17572492edc4f558c39b0..74c851de91c5d3311e83432ec31bf978d0f49ded 100644 (file)
@@ -332,7 +332,7 @@ static int check_platform_magic(struct device *dev, long ioaddr, long iolen)
                }
                /* Fall through */
        case 0:
-               outw(0xf, XEN_IOPORT_UNPLUG);
+               outw(unplug, XEN_IOPORT_UNPLUG);
                break;
        default:
                err = "unknown I/O protocol version";